<?php if($offlineDetailList){ ?>
<div class="row">
  <table class="table table-bordered">
    <thead>
      <tr>
        <th class="bg-primary text-center">流水号</th>
        <th class="bg-primary text-center">类型</th>
        <th class="bg-primary text-center">费用项目描述</th>
        <th class="bg-primary text-center">费用使用时间段</th>
        <th class="bg-primary text-center">预算费用</th>
        <th class="bg-primary text-center">备注</th>
        <th class="bg-primary text-center">操作</th>
      </tr>
    </thead>
    <tbody>
      <?php  foreach ($offlineDetailList as $k => $v) {?>
      <tr>
        <td class="text-center"><?=$v['id']?></td>
        <td class="text-center"><?=$v['typeStr']?></td>
        <td class="text-center"><?=$v['descTypeStr']?></td>
        <td class="text-center"><?=$v['startTime'].'至'.$v['endTime']?></td>
        <td class="text-center"><?=$v['budgetApply']?></td>
        <td class="text-center"><?=$v['remarks']?></td>
        <td class="text-center">
          <button class="btn btn-default" onclick="newWindow('修改线下活动明细项','<?=printUrl('SinglePOffline','detailAdd', array('id'=>$v['id'],'offlineId'=>$v['offlineId'],'procId'=>$v['procId'],'projectId'=>$v['projectId']))?>', 900, 400)">修改</button>
          <button class="btn btn-default" onclick="ajaxConfirmSubmit('您确定要删除此线下活动明细项吗？<br>此操作不可撤销','<?=printUrl('SinglePOffline','detailDel')?>',{'id':<?=$v['id']?>})">删除</button>
        </td>
      </tr>
      <?php }?>
    </tbody>
  </table>
</div>
<?php }?>